import { createApp } from 'vue'
import { createPinia } from 'pinia'
import '@nutui/nutui-taro/dist/styles/themes/default.scss'
import '@/styles/ck-content-styles.css'
import '@/styles/ck-content.scss'
import '@/styles/nutui-reset.scss'
import './app.scss'
import '@/styles/iconfont.css'

import globalRegister from './global-register' // 注册组件为全局

// import { hasLogin } from './utils/auth';

const App = createApp({
  // 入口组件不需要实现 render 方法，即使实现了也会被 taro 所覆盖
})

App.use(globalRegister).use(createPinia())

export default App
